/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package moldat;

import java.util.ArrayList;

/**
 *
 * @author Sebastian Horwege
 */
public class Organism {

    private ArrayList<OrganismPart> organismParts = new ArrayList<OrganismPart>();
    private String name;

    public Organism(String name) {
        this.name = name;
    }

    public void addOrganismPart(String name, String upPvalue, String downPvalue, String upExperiment, String downExperiment, String nonDEExperiment) {
        organismParts.add(new OrganismPart(name, upPvalue, downPvalue, upExperiment, downExperiment, nonDEExperiment));
    }

    public ArrayList<OrganismPart> getOrganismParts() {
        return this.organismParts;
    }

    public String getName() {
        return this.name;
    }
}